Create jobs based on follow-up actions automatically creates a new job for the follow-up action. This is likely to be a form for a re-inspection or re-test of contraventions in the original report. |
Main |
Main screen for this action | ||||||||||
*Description |
A descriptive text to identify this action |
||||||||||
*Job type | Select the required job definition from the drop-down list. | ||||||||||
*Template | Select the required template from the drop-down list. | ||||||||||
Create as sub-job of existing job |
Tick this box if you wish the new job to be a sub-job (ie child) of the current job (ie the one that is triggering this action). |
||||||||||
Unique name of section attribute to group by (for management reports) | Management reports can be created based on contraventions and follow-up actions within forms. These can be broken down into various categories, with categories containing one or more sections of questions. Enter the name of the section attribute that will be used to define the section's category. Note that the management reports are a bespoke option. | ||||||||||
|
|||||||||||
Post-action processing (advanced) |
After an action has finished running a file can be executed on the server. This could be, for instance, a .exe or a .bat file. Typically this would be used to insert data into another system. |
||||||||||
File name to run | Enter the full path and filename here. Ensure that it is correctly spelt and that the file extension (such as .exe or .bat) is also correct. | ||||||||||
Command line to run | If the file specified above requires additional information on its command line, please enter it here. Contact your magic5 expert for further help. | ||||||||||
Folder to run from | Enter the full path and folder name that the executable programme needs to be launched from. | ||||||||||
URL | Instead of running an executable file locally, an http request can be sent to the URL specified here. It can contain standard variables. | ||||||||||
HTTP verb | Choose the http verb to be sent with the request to the URL specified above. If you do not know what this is, ask your magic5 expert. | ||||||||||
HTTP request body | This will be very different in different circumstances and probably needs to defined at the implementation stage. It can contain standard variables and may contain the data entered on the form. |